#!/bin/sh
set -ex
CUR_DIR=$(cd "$(dirname "$BASH_SOURCE[0]")" && pwd)
echo "protoc-gen-napi directory: $CUR_DIR" >&2
cd $CUR_DIR
uv sync
uv run $CUR_DIR/main.py "$@"
echo "Script execution completed." >&2
set +ex
